
<%= simple_form_for([:admin, @process_active_instance], html: {class: 'form-horizontal form-show',id: 'process_active_instance_form' }) do |f| %>
<%= f.error_notification %>


  <%= f.input :active_type %>

  <%= f.input :bpmn_active_define_id %>

  <%= f.input :bpmn_active_name %>

  <%= f.input :bpmn_next_target_ref %>

  <%= f.input :due_date %>

  <%= f.input :duration %>

  <%= f.input :start_date %>

  <%= f.input :status %>


<div class="clearfix form-actions">
  <div class="col-md-offset-3 col-md-9">
    <%= f.button :submit, class: 'btn btn-primary' %>
  </div>
</div>
<% end %>

<script>
    $(function () {
        $('#process_active_instance_form').validator_b3({
            errorElement: 'div',
            errorClass: 'help-block',
            focusInvalid: false,
            rules: {
            },
            messages: {
            }
        });


        $('.nav.nav-list li.active').removeClass('active');
        $('.nav.nav-list li[data-model="process_active_instance_list"]').addClass('active');
    } );
</script>